package edu.hz.dao;

import edu.hz.model.entity.UserDonationEntity;
import org.apache.ibatis.annotations.Insert;

public interface UserDonationMapper {

    @Insert("INSERT INTO user_donations (user_id, donation_id, donation_type, money, donation_time, detail) " +
            "VALUES (#{userId}, #{donationId}, #{donationType}, #{money}, #{donationTime}, #{detail})")
    int insertUserDonation(UserDonationEntity userDonation);

}
